How to Remove "Pin this program to taskbar"
How to Remove "Pin this program to taskbar"I have create a window, when I run it, it will be shown on the taskbar, right click the icon, it will show three option 1) xxxx.exe2) pin this program to the taskbar3) closeBut how can I romve the 1) and 2) ?
March 11th, 2009 8:52am

Jing Jing Jing said: How to Remove "Pin this program to taskbar"I have create a window, when I run it, it will be shown on the taskbar, right click the icon, it will show three option 1) xxxx.exe2) pin this program to the taskbar3) closeBut how can I romve the 1) and 2) ?HiI don't think this can be done, those options are not a standard context menu and are probably hard codedsince they arepart of the new Taskbar features. You can make the Windows 7 Product Team aware of your request or thoughts by posting to our official feedback thread. Have Comments about Windows 7 Beta? All of the posts in that thread are collected, periodically by the Forum Owners and sent directly to the Windows 7 Product Team. Just click the Reply Button in the first post on that thread and post your comments.Hope this helps.Thank You for testing Windows 7 Beta Ronnie Vernon MVP
Free Windows Admin Tool Kit Click here and download it now
March 11th, 2009 10:16am

But I find the hh.exe (Windows\hh.exe) can do this. When it open a .chm, the icon on the taskbar will not show the "Pin this program to taskbar", but only ''Close Window".
March 11th, 2009 10:24am

It's been my experience that some things can be pinned, while others can't. The RUN command, for instance, never shows an icon on the task bar - ergo - it can't be pinned. It's an extension of the Start menu.An app I use that's networked likewise shows no options for pinning or opening another instance. I haven't found any means to control this one way or the other...
Free Windows Admin Tool Kit Click here and download it now
March 11th, 2009 10:50pm

Jing Jing Jing said: But I find the hh.exe (Windows\hh.exe) can do this.When it open a .chm, the icon on the taskbar will not show the "Pin this program to taskbar", but only ''Close Window".HiThis is strange.I am seeing something completely different?Here is a screenshot of the Taskbar when I open an .CHM file and then right click the icon on the Taskbar.Thank You for testing Windows 7 Beta Ronnie Vernon MVP
March 12th, 2009 2:49am

Wolfie2k6 said: It's been my experience that some things can be pinned, while others can't. The RUN command, for instance, never shows an icon on the task bar - ergo - it can't be pinned. It's an extension of the Start menu.An app I use that's networked likewise shows no options for pinning or opening another instance. I haven't found any means to control this one way or the other...I agree.It appears that only a program (exe) can be pinned to the Taskbar.If you try to drag a folder and drop it on the Taskbar, it will prompt you to "Pin to Windows Explorer", it will then pin Windows Explorer to the Taskbar and add the folder to the WE Jump List.The same goes for a Word doc file, you get prompted to pin Word and the doc file is added to the Jump List.There is a good article that explains a lot about the new Taskbars functionality, but nothing about how to change it.The Windows 7 TaskbarI imagine the tweaks will follow soon after theRTMlaunches. :))Thank You for testing Windows 7 Beta Ronnie Vernon MVP
Free Windows Admin Tool Kit Click here and download it now
March 12th, 2009 3:22am

The hh.exe can pin to taskbar, but when open a "xxx.chm", the pin will not show.And this looks like:The hh.exe can't open without command line. Although it pins on the taskbar, you can't run it just by click the icon.So when we open a "xx.chm", and right click the icon, the "pin this program to taskbar" will not show.And this logic makes sence.
March 12th, 2009 5:23am

I would say it makes since so long as this isn't somewhere in the registry. This does sound like it is hard coded. With the understanding that this is hard coded, it would be logically easier for the programmer to make a general inclusion and exclusion list for "Pin to Taskbar." So they can code that anything that is an EXE standard executable file or shortcut to executable will receive a Pin to Taskbar option. So anything not in that list such aschm fileswould not get the pin to taskbar option. Even if though it calls upon a certain executable to start.I'm half tired and hope I wrote that sensibly and clearly. Definitly take Ronnie's advice and send them a message using "Send Feedback" or posting a message in the identified thread, let them know you want the option to remove or add "Pin to Taskbar" from the context menu.
Free Windows Admin Tool Kit Click here and download it now
March 12th, 2009 6:09am

Thank you all, I have seed a feedback~~ Hope they will send back soon~
March 12th, 2009 6:17am

Jing Jing Jing said: The hh.exe can pin to taskbar, but when open a "xxx.chm", the pin will not show.And this looks like:The hh.exe can't open without command line. Although it pins on the taskbar, you can't run it just by click the icon.So when we open a "xx.chm", and right click the icon, the "pin this program to taskbar" will not show.And this logic makes sence.HiYou don't really need the command line to start HH.EXE. You can simply double click the .CHM file and it will open with HH.EXE. This will display the HH.EXE icon on the Taskbar and the "Pin to Taskbar" does show when you right click the HH.EXE Icon.One cool thing I just tried.If you pin the HH.exe to the Taskbar, you can then drag .CHM files and drop them into the Jump List of the HH Icon.Then you can right click on the HH Icon and single click any of the .CHM files to run them.Here is a screenshot of this.Thank You for testing Windows 7 Beta Ronnie Vernon MVP
Free Windows Admin Tool Kit Click here and download it now
March 12th, 2009 6:51am

Got the way to romove the "Pin ......." OptionI have tried, it really works. Registering an Application as a Host Process An application can set the IsHostApp registry entry to causes that executable's process to be considered a host process by the taskbar. This can affect its grouping and default Jump List entries. The following example shows the required registry entry. Note that the entry is not assigned a value; its presence is all that is required. It is a REG_NULL value. HKEY_CLASSES_ROOT Applications example.exe IsHostApp If a shortcut file that was used to launch the running instance of the process can be identified or if the application has set an explicit AppID, then the host process list is ignored and the application is treated as a normal application by the taskbar. The application's running windows are grouped together under a single taskbar button and the application can be pinned to the taskbar. If only the running process's executable name is known, and that executable is in the host process list, then each instance of the process is treated as a separate entity for taskbar grouping. The taskbar button associated with any specific instance of the process does not display a pin/unpin option or a launch icon for a new instance of the process.More Detailhttp://msdn.microsoft.com/en-us/library/dd378459(VS.85).aspx
March 19th, 2009 6:54am

JingVery good find.Thanks for letting us know the solution that you found.Regards, Thank You for testing Windows 7 Beta Ronnie Vernon MVP
Free Windows Admin Tool Kit Click here and download it now
March 19th, 2009 7:52am

I noticed that a few third party apps dont allow this to work. Is anyone able to find out why that would be? The pin menu still shows up but it does nothing when I add that key-value. Thanks, DanSoftware Developer
April 14th, 2009 3:37am

Just noticed also if I create my own shortcut for some items to the desktop and add this registry key that the hack works for the short cut I've created but not the one in the start menu.Software Developer
Free Windows Admin Tool Kit Click here and download it now
April 14th, 2009 11:34pm

I get the same problem~Some App can't hide the "pin..."
April 21st, 2009 5:42am

Just noticed also if I create my own shortcut for some items to the desktop and add this registry key that the hack works for the short cut I've created but not the one in the start menu. Software Developer Because the in the start menu, right click the shell link, it will show "Pin to Taskbar" and "Pin to Start Menu".And set the IsHostApp, the start menu will NOT update and remove the two "Pin..." unless we do some change on the shell link.I think we should set the Registry IsHostApp before we add app to the start menu.So we should first set the Registry and then add links to the start menu.If the link is already in the start menu, please make any change of the link, it will update the staut.I think it is a bug of the start meun.And I have tried this on Build 7077.I hope this will be fixed at the next version.
Free Windows Admin Tool Kit Click here and download it now
April 22nd, 2009 12:28pm

JingVery good find.Thanks for letting us know the solution that you found.Regards, Thank You for testing Windows 7 Beta Ronnie Vernon MVP Just noticed also if I create my own shortcut for some items to the desktop and add this registry key that the hack works for the short cut I've created but not the one in the start menu. Software Developer Hi Ronnie,Question---------------------------------------------------------------------------------------------------------------------Because the in the start menu, right click the shell link, it will show "Pin to Taskbar" and "Pin to Start Menu".And set the IsHostApp, the start menu will NOT update and remove the two "Pin..." unless we do some change on the shell link.I think we should set the Registry IsHostApp before we add app to the start menu.So we should first set the Registry and then add links to the start menu.If the link is already in the start menu, please make any change of the link, it will update the staut.I think it is a bug of the start meun.And I have tried this on Build 7077.I hope this will be fixed at the next version.----------------------------------------------------------------------------------------------------------------------Do you think it is a Bug?
April 22nd, 2009 12:36pm

This is an old thread, but wanted to make mention that I found luck with this solution: 1. Open Registry Editor (regedit.exe) 2. Navigate to HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer 3. Construct a REG_DWORD value named "TaskbarNoPinnedList" 4. Set its data to 1 5. Reboot
Free Windows Admin Tool Kit Click here and download it now
August 17th, 2011 4:05pm

This is an old thread, but wanted to make mention that I found luck with this solution: 1. Open regedit.exe 2. Navigate to HKEY_CLASSES_ROOT\lnkfile 3. Rename the "IsShortcut" value to anything (I used "!IsShortcut") 4. Reboot. Two side-effects: 1. You lose the visual cue that an icon is a shortcut (ie the box in the bottom-left of an icon containing an arrow) 2. regedit.exe itself continues to offer the "Pin this program to taskbar"
August 18th, 2011 8:52am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics